package com.test.gpa.base;

import java.util.ArrayList;
import java.util.*;
import java.util.concurrent.ConcurrentHashMap;

public class test {
    public static void main(String[] args) {
        B a = new B();
        System.out.println(a.d);
        System.out.println(a.c);
        List list=new ArrayList();
        list.add(3);
        list.add(2);
        list.add(1);
        ConcurrentHashMap hashMap=new ConcurrentHashMap();
    }

}

class A {
    static {
        int a = 1;
        System.out.println("A");
    }

    A() {
        System.out.println("a");
    }

}

class B extends A {
    static {
        int b = 2;
        System.out.println("B");
    }
String c;
    int d;

    B() {

        System.out.println("b");
    }

    public int anInt(int a, int b) {

        return 1;
    }

    private String anInt(int c) {
        return "";
    }
}